package com.starlink.model.request;

import com.starlink.common.PageQueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("分组书包请求模型")
public class SchoolbagGroupBagRequest extends PageQueryRequest implements Serializable {
    @ApiModelProperty("书包分类id")
    private Long categoryId;
    @ApiModelProperty("书包规格id")
    private Long specId;
    @ApiModelProperty("分组id")
    private Long groupId;
    @ApiModelProperty("分组书包下标 1~12")
    private Integer groupIndex;
    @ApiModelProperty("书包状态 0闲置中 1使用中")
    private int status;
    @ApiModelProperty("书包号(ras编码)")
    private String bagCode;
    @ApiModelProperty("书包号(ras全码值)")
    private String bagRasUrl;
    @ApiModelProperty("书包关联的书籍")
    private List<SchoolbagGroupBagBooksRequest> storageBooks;
}
